<%@page import="helpers.UrlHelper"%>
<%
String ip = (String) request.getAttribute("ip");

//Set content for seo
String domainServer = UrlHelper.getDomainServer(request);
String title = domainServer  + " - My Ip";
String description = "Your IP Address Is: " + ip + ". This is free tool for check your ip.";
String keywords = ip + ", myip, myip address, web site analysis, website traffic details, server information, website ranking info, check information my domain" ;
String url = UrlHelper.getServerUrl(request) + "/myip";
%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="/layouts/header.jsp">
	<jsp:param name="title" value="<%=title %>" />
    <jsp:param name="description" value="<%=description %>" />
    <jsp:param name="keywords" value="<%=keywords %>" />
    <jsp:param name="ogtitle" value="<%=title %>" />
    <jsp:param name="ogurl" value="<%=url %>" />
    <jsp:param name="ogdescription" value="<%=description%>" />
</jsp:include>

			<script type="text/javascript" src="/js/myip.js"></script>
                <div id="leftSideContent">
                	<section class="block">
                    	<div class="blockContent">
                            <h3 class="blockHeading"><span>Your Ip Address is <%=ip %></span></h3>
                            <div class="clearafter">
                            	<div class="form-input clearafter">
	                            	<h3 class="title">Your IP Address Is: <a href="/ip/<%=ip %>"><%=ip %></a></h3>
                                    <div class="gridLayout gridLayout left">
                                        <div class="gridCol lastCol">
                                        	<script type="text/javascript" src="http://ip-geo.appspot.com/geo_data.js"></script>
                                            <script type='text/javascript'>
												document.write(geo.generate_map(500, 400));
											</script>
                                        </div>
                                    </div>
	                                <div class="right">
	                                	<script type="text/javascript"><!--
										google_ad_client = "ca-pub-2883566427648799";
										/* epufloor_120x240 */
										google_ad_slot = "3096810687";
										google_ad_width = 120;
										google_ad_height = 240;
										//-->
										</script>
										<script type="text/javascript"
										src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
										</script>
	                                </div>
	                                
	                            </div>
                            </div>
                        </div>
                        <div class="blockShadow"></div>
                    </section>                	
                </div>
                
                <!-- right content -->
                <jsp:include page="/elements/right.jsp" />
                <!-- end right content -->
                
<jsp:include page="/layouts/footer.jsp" />